package org.arnetminer.personalized.dao;

import java.util.List;

import org.arnetminer.personalized.vo.Follow;
import org.arnetminer.personalized.vo.FollowType;

public interface FollowDAO {
	public void save(Follow transientInstance);


	public void delete(Follow persistentInstance);

	public List findByExample(Follow instance);


	public Object merge(Follow detachedInstance);


	public void attachDirty(Follow instance);

	
	public void attachClean(Follow instance);
	
	public FollowType findFollowTypeById(long id);
	
	public List findByProperties(final List<String> properties, final List values, final int start, final int max);
	
	public List findByProperties(final List<String> properties, final List values);
	
	public int findCountByProperties(final List properties, final List values);
}
